<?php session_start();?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<?php
if(isset($_SESSION['lang']))
    require_once "./language_files/viewReviewingDeadline_" . $_SESSION['lang'] . ".php";
else
    require_once "./language_files/viewReviewingDeadline_en.php";

viewReviewingDeadline();
function viewReviewingDeadline()
{
    global $lang;
    require_once "functions.php";
    //$currentConfID = '2000'; for testing the where clause
    //$currentconfID = '$_SESSION ["conference_id"]'; // need to actovate session
    $result=mysqli_query($check,"SELECT rev_deadline FROM Conference where conference_id= '1' ")
            or die('here' . mysql_error()); // need conference_id from session
    $row=mysqli_fetch_assoc($result);
    $deadline=formatText_safe($row['rev_deadline']);

    echo "
     <tr>
    <p>" . $lang['text_to_complete'] . "<td>{$deadline}</td>
     <p/>
 </tr>";
}
?>
<br/>
<p> <?php echo $lang['text'];?>
<p/>